Skip to content

fix: close extension lifecycle release gaps#54

Merged
freshtechbro merged 11 commits into
mainfrom
codex/real-world-surface-validation
May 12, 2026
Merged

fix: close extension lifecycle release gaps#54
freshtechbro merged 11 commits into
mainfrom
codex/real-world-surface-validation

Conversation

@freshtechbro

Copy link
Copy Markdown
Owner

Summary

  • Hardens extension reconnect status so takeover suppression and dirty relay health stay visible even with native transport connected.
  • Tightens ops/relay cleanup, daemon stop process targeting, and provider fallback cleanup fail-closed behavior.
  • Adds regression coverage for popup status, unhealthy relay suppression, ops cleanup, dirty relay health, daemon stop, and fallback cleanup logging.

Testing

  • RepoPrompt review loop: review-lifecycle-fixes-81842C, lifecycle-re-review-409BA3 clear after fixes.
  • npm run test -- tests/extension-background.test.ts tests/providers-runtime-factory.test.ts tests/extension-ops-runtime.test.ts tests/relay-server.test.ts tests/cli-serve.test.ts
  • npm run typecheck
  • npm run lint
  • npm run build
  • npm run extension:build
  • git diff --check
  • npm run test:release-gate
  • npm run test (4401 passed, 1 skipped; global branch coverage 97%)
  • node scripts/audit-zombie-files.mjs
  • node scripts/docs-drift-check.mjs
  • node scripts/chrome-store-compliance-check.mjs
  • ./skills/opendevbrowser-best-practices/scripts/validate-skill-assets.sh
  • node dist/cli/index.js --help
  • node dist/cli/index.js help
  • npm run extension:pack
  • npm pack --pack-destination /tmp

Release note

  • npm auth is currently blocked locally: npm whoami returns E401 Unauthorized. Do not create the release tag or run npm publish until npm auth or NPM_TOKEN is restored.

freshtechbro and others added 11 commits May 10, 2026 18:58
- Delete generated investigation, plan, and review docs artifacts.\n- Remove stale release evidence references to deleted investigation notes.\n\nCo-authored-by: Codex <noreply@openai.com>
- propagate cookie and browser-mode options through macro CLI, daemon, and tool surfaces
- tighten extension, daemon, provider fallback, and social/search classification behavior
- add regression coverage for signed-in provider, Best Buy product-video, and daemon stop paths

Co-authored-by: Codex <noreply@openai.com>
- isolate secondary matrix and direct provider daemon ownership from dirty relay clients
- fail closed when configured daemon recycling cannot stop the previous daemon
- expand direct provider and workflow matrix coverage for signed-in extension lanes

Co-authored-by: Codex <noreply@openai.com>
- add the validation campaign plan across commands, tools, modes, and planes
- record provider, Best Buy, secondary matrix, tool-family, and daemon lifecycle evidence
- preserve follow-up classifications with current verification notes

Co-authored-by: Codex <noreply@openai.com>
- close dependent relay clients when extension sockets drop
- make ops client disconnect and daemon lifecycle cleanup fail closed
- reject unsupported serve --daemon before it can start a foreground daemon

Co-authored-by: Codex <noreply@openai.com>
- await fallback cleanup and disconnect failures within bounded budgets
- preserve extension start URLs and retry semantics for signed-in provider fallback
- cover community, shopping, and cleanup contamination paths

Co-authored-by: Codex <noreply@openai.com>
- require clean owned relay state before signed-in provider runs
- recycle configured daemons only after verified stop outcomes
- avoid dirty relay and shell-owned daemon contamination in matrix/probe paths

Co-authored-by: Codex <noreply@openai.com>
- document stale daemon and shell-owned foreground daemon findings
- record fixed secondary matrix and provider contamination outcomes
- update real-world surface validation plan status

Co-authored-by: Codex <noreply@openai.com>
- align root package, lockfile, and extension manifest metadata
- prepare tag-driven GitHub and npm release workflow for v0.0.29

Co-authored-by: Codex <noreply@openai.com>
Update first-run and CLI package artifact examples for the 0.0.29 release version.

Co-authored-by: Codex <noreply@openai.com>
- keep reconnect suppression visible even when native transport remains connected
- fail closed on required provider fallback cleanup and tighten daemon stop cleanup
- cover relay dirty-state, ops cleanup, popup status, and fallback cleanup regressions

Co-authored-by: Codex <noreply@openai.com>
@freshtechbro freshtechbro merged commit ca201b5 into main May 12, 2026
8 checks passed
@freshtechbro freshtechbro deleted the codex/real-world-surface-validation branch May 12, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant